/**********************************************
*  Classes:   TextureProperty
*  Desc:      Defines a texture property
*  Author:    Vaios Kalpias-Ilias (C) 2008-2009
***********************************************/

#include "TextureProperty.h"
#include "CdnRenderer.h"

//------------------------------------------------
/**
* Ctor
*/
TextureProperty::TextureProperty(unsigned int id,
								 unsigned int kApiType,
								 TextureFileType kFileType)
: m_uiTexId(id),
  m_eApiType(kApiType),
  m_eFileType(kFileType)
{
}
//------------------------------------------------
/**
* Dtor
*/
TextureProperty::~TextureProperty()
{
}

//------------------------------------------------
/**
* Sets texture environment state
*/
void TextureProperty::SetEnvironmentState(EnvironmentState state)
{
	CdnRenderer::GetInstance()->SetTextureEnvState(m_uiTexId, state);
}